home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1996 June
/
MACPOWER-1996-06.ISO.7z
/
MACPOWER-1996-06.ISO
/
AMUG
/
UTILITY_40
/
MacShell 0.54b
/
MacShell.0.54b
/
bin
/
query
/
query.rsrc
/
9835_query
Wrap
Text File
|
1995-03-03
|
893b
|
29 lines
SYNTAX
query [-ivc] pattern [file ...]
DESCRIPTION
Search for the frames containing the string "pattern"
in "file, ...". A frame is any sequence of characters
followed by an empty line or end of file.
If no file is specified, then stardard input is searched.
The search is case sensitive by default.
OPTIONS
-i interactive: after any match the user is prompted
with "More?". An answer of 'q', 'Q', 'n' or 'N'
quits the search immediately.
-v print frames which do not match "pattern"
-c make a non case-sensitive search.
DIAGNOSTIC
The maximum dimension of a frame is determined by
the #define'd constant FRAME_LEN; if query finds a
frame bigger than FRAME_LEN characters, it
truncates to the first FRAME_LEN characters and prints
a warning message.
AUTHOR
Adolfo Villafiorita (adolfo@frege.mrg.dist.unige.it)
□